<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>代码展示</title>
</head>
<body>
    
    <div class="first"></div>
    <div class="second"></div>
    <div class="third"></div>
    <div class="fourth"></div>
    <br>
    <p><a href="./个人主页.html">个人主页</a></p>
    
</body>
<style>
    .first{
        border: 2px solid;
        width: 300px;
        height: 100px;
        margin-bottom: 4px;
        background-color: red;
    }
    .second{
        border: 2px solid;
        width: 300px;
        height: 100px;
        margin-bottom: 4px;
    }
    .third{
        border: 2px solid;
        width: 300px;
        height: 100px;
        margin-bottom: 4px;
    }
    .fourth{
        border: 2px solid;
        width: 300px;
        height: 100px;
        margin-bottom: 4px;
    }

</style>
<hr>
这是关键代码
<pre>
      
    &ltdiv class="first">&lt/div>
    &ltdiv class="second">&lt/div>
    &ltdiv class="third">&lt/div>
    &ltdiv class="fourth">&lt/div>
    
&lt/body>
&ltstyle>
    .first{
        border: 2px solid;
        width: 300px;
        height: 100px;
        margin-bottom: 4px;
        background-color: red;
    }
    .second{
        border: 2px solid;
        width: 300px;
        height: 100px;
        margin-bottom: 4px;
    }
    .third{
        border: 2px solid;
        width: 300px;
        height: 100px;
        margin-bottom: 4px;
    }
    .fourth{
        border: 2px solid;
        width: 300px;
        height: 100px;
        margin-bottom: 4px;
    }

&lt/style>
</pre>
</html>